package com.farm.shiro.entity;

import com.farm.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "账户-角色")
@TableName(value = "account_role", keepGlobalPrefix = true)
public class AccountRole extends BaseEntity {

    /**
     * 账户ID
     */
    private Long accountId;

    /**
     * 角色ID
     */
    private Long roleId;
}

